<!--
 * @Author: lizijian
 * @Date: 2024-03-20 14:39:39
 * @LastEditTime: 2024-03-25 15:55:17
 * @FilePath: \client\src\pages\files\index.vue
 * @Description: 
-->
<template>
	<router-view :key="routerkey"></router-view>
</template>
<script setup>
	import { router } from '@/router'
	import { ref, provide, onMounted } from 'vue'
	const routerkey = ref(router.currentRoute.value.fullPath)
	provide('father', {
		query: router.currentRoute.value.query,
		routerTo: (pid, page = 1) => {
			router.push('?pid=' + pid + '&page=' + page)
		},
	})

	onMounted(() => {})
</script>
